]> dgit.raspbian.org Git - gnome-shell.git/commit
st-theme-node: Support non-uniform border-radii
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 1 Oct 2010 01:58:59 +0000 (03:58 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 4 Oct 2010 22:18:49 +0000 (00:18 +0200)
commit3d2d396c09b4b7cdc296338c990af8bd9a9941fb
tree102ae3c827477821684e9f380f18656d99a33eda
parentb33ebb450a693137c0f8eb859d2c244b1320709b
st-theme-node: Support non-uniform border-radii

Non-uniform border-radii are already supported when using a gradient
background, this patch adds support for solid colors as well.

The currently applied technique of using corner textures and filling
the remaining area with rectangles is extended, so that each corner is
padded with rectangles to the size of the largest corner.

Add border-radius.js to test cases, to test non-uniform border-radii
with both solid color and gradient backgrounds.

https://bugzilla.gnome.org/show_bug.cgi?id=631091
src/st/st-theme-node-drawing.c
src/st/st-theme-node-private.h
tests/Makefile.am
tests/interactive/border-radius.js [new file with mode: 0644]